layui.use(['element', 'form'], function(){
  var element = layui.element,
  form = layui.form;
});